package com.zhixiang.xaec.service.health.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.health.HealthFileDao;
import com.zhixiang.xaec.entity.health.HealthFile;
import com.zhixiang.xaec.service.health.HealthFileService;

@Service
public class HealthFileServiceImpl extends BaseServiceImpl<HealthFile, Long> implements HealthFileService{

	@Override
	public void delete(String[] ids) {
		for(String id:ids){
			getDao().remove(Long.valueOf(id));
		}
		
	}

	@Override
	@Resource(type=HealthFileDao.class)
	public void setBaseDao(BaseDao<HealthFile, Long> dao) {
		
		setDao(dao);
	}

}
